package edu.bbk.muc.lifetracker.sensormanager;

import java.util.Collection;

import android.app.Activity;

import com.google.common.collect.ImmutableList;

import edu.bbk.muc.lifetracker.common.SensorsToUi;

/**
 * Sensor factory.
 * @author irenatyler and romankirillov
 *
 */
public class PhysicalSensorFactory implements AbstractSensorFactory {

  @Override
  public Collection<Recorder> createSensors(Activity activity, SensorsToUi callback) {
    return ImmutableList.of(
        new AccelerationRecorder(activity, callback),
        new LocationRecorder(activity, callback),
        new LightRecorder(activity, callback));
  }
}
